package com.airycode.distribution.distribution1.constants;

/**
 * 业务编码对象
 * @author admin
 * @date 2017/8/15
 */
public class BusinessCode {

	public static final BusinessCode SUCCESS = new BusinessCode(0, "成功");

	private int code;
	private String msg;

	public BusinessCode(int code, String msg) {
		this.code = code;
		this.msg = msg;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

}
